﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace HelenServer.Migrator;

[Table("zt_history")]
[Index("Action", Name = "action")]
public partial class ZtHistory
{
    [Key]
    [Column("id", TypeName = "mediumint(8) unsigned")]
    public uint Id { get; set; }

    [Column("action", TypeName = "mediumint(8) unsigned")]
    public uint Action { get; set; }

    [Column("field")]
    [StringLength(30)]
    public string Field { get; set; } = null!;

    [Column("old", TypeName = "text")]
    public string Old { get; set; } = null!;

    [Column("new", TypeName = "text")]
    public string New { get; set; } = null!;
}